






//
//  OrderTechnicianCell.m
//  XJMTechnician
//
//  Created by Mr.hu on 2017/10/16.
//  Copyright © 2017年 Mr.hu. All rights reserved.
//

#import "OrderTechnicianCell.h"

@implementation OrderTechnicianCell

- (void)setdata:(NSDictionary *)dict{
    
    
    if ([dict isKindOfClass:[NSDictionary class]]) {
        
    NSString * goodprice = [NSString stringWithFormat:@"%@",dict[@"goods_price"]];
    if (goodprice) {
        self.Order_pricelab.text = [NSString stringWithFormat:@"¥ %@",dict[@"goods_price"]];
    }
    if (dict[@"address"]) {
        self.Order_Addresslab.text = dict[@"address"];
    }
    if (dict[@"distance"]) {
        self.Order_Distancelab.text = [NSString stringWithFormat:@"距您 %@",dict[@"distance"]];
     }
        self.Order_ItemLab.text = [NSString stringWithFormat:@"%@",dict[@"goods_name"]];
    }
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
